import Vue from 'vue'
import VueRouter from "vue-router";
Vue.use(VueRouter);

import App from "../App.vue";
import Login from "../components/Login.vue";
import Register from "../components/Register.vue";
import GoodsList from "../components/GoodsList.vue";

let router = new VueRouter({
    routes: [
        {path: "/App", component: App},
        {path: "/Login", component: Login},
        {path: "/Register", component: Register},
        {path: "/GoodsList", component: GoodsList}
    ]
})

export default router